﻿(function () {
    $namespace.register("Comkarl.Calipso.Controls");

    $global.Comkarl.Calipso.Controls.OSInfo = $def({
        $constructor: function () {
            this.$_.osName = null;
        },
        $members: {
            get_OSName: function () {
                return this.$_.osName;
            },

            set_OSName: function (value) {
                this.$_.osName = value;
            },

            render: function () {
                var lblText = $("<span />");
                lblText.text(this.oSName);
                lblText.addClass(this.elementCssClass);

                $(this.parentElementSelector).append(lblText);
            }
        },
        $extends: $calipso$control
    });

    $calipso$manager.registerControl("OSInfo", $global.Comkarl.Calipso.Controls.OSInfo);
})();